package com.wmx.thread.dayOne;
/*
循环打印数字和字母
如A12B34C56D78E910F1112G1314H1516I1718J1920K2122L2324M2526N2728O2930P3132Q3334R3536S3738T3940U4142V4344W4546X4748Y4950Z5152
* */
public class PrintStuff {
    public int num = 1;
    public char cha='A';
    public boolean flag = true;//flag作为打印线程等待的标志

    public static void main(String[] args) {
        PrintStuff ps = new PrintStuff();
        PrintNum t1=new PrintNum(ps);
        PrintChar t2=new PrintChar(ps);
        t1.start();
        t2.start();

    }

}
